package top.fzqblog.kotlinapp.model
/**
 * Created by 抽离 on 2017/12/25 0025.
 */
class HouseDetail {

    /**
     * hasAuthUploadImg : true
     * currentUserDeptId : 6331
     * code : 1
     * hasAuthChangeToPrivate : false
     * usePrivateMode : false
     * hasAuthViewCoreOwner : true
     * xcxShareQrCode : http://wo-img.fangline.cn/b447b3bf-e430-4075-aad6-e12fa40563a7
     * house : {"alertDay":null,"area":60,"areaBegin":null,"areaEnd":null,"asc":null,"balcony":1,"bizType":"sell","blockName":"号楼","blockNo":"2","buildYear":2007,"cell":"202","checkNo":"386064500","cityId":15,"corpId":10827,"corpName":null,"createTime":1501603200000,"createTimeString":"2017-08-02 00:00","createUser":{"abnormalList":null,"attendOpenid":null,"authMap":null,"avatarUrl":null,"certNo":null,"cityId":null,"corp":null,"corpId":10827,"deptId":6334,"deptName":null,"hireDate":"2017-10-26","invitationCode":null,"openid":null,"roleId":4294,"roleName":null,"sex":"女","status":"1","tel":"13688880005","unionid":"dd797b18866544bf93fbb0da8e77a289","userId":15269,"userName":"经纪人B","wanderLogin":null,"xcxOpenid":null},"createUserId":15269,"decoration":"精装修","deleteHouseFlag":false,"deptChildrens":"$,6331,6332,6333,6335,6336,6337,6338,6334","deptName":null,"districtName":null,"elevator":null,"fitment":null,"fitmentFormatStr":"-","floor":4,"floorBegin":null,"floorEnd":null,"floorStr":null,"formatCreateDate":"2017-08-02","hall":1,"houseId":75994,"houseImg":"http://wo-img.fangline.cn/44aa7f19-6c86-41ca-ad93-e850f3dab825.png","houseImgList":null,"houseLogList":null,"houseType":"住宅","inArea":null,"isNew":null,"keyDate":null,"keyDept":null,"keyDeptName":"-","keyLogType":null,"keyRemark":null,"keyStatus":"无","keyUserId":null,"latestFollowTime":1501603200000,"lookLogList":null,"minPrice":null,"moveHouseFlag":false,"openType":"公盘","openid":null,"orderBy":null,"ownerList":[{"cityId":15,"houseId":75994,"ownerId":147901,"ownerName":"业主2","tel":"13866660002"}],"paymode":null,"period":"满五年","price":60,"propertyType":"商品房","propertyYears":"70年","remark":null,"rentType":null,"room":2,"rooms":null,"section":"半山御景","sectionLike":null,"sections":{"corpId":10827,"district":"思明","sectionId":3569416,"sectionName":"半山御景","sectionSpell":"bsyj","zone":"松柏"},"serviceUser":{"abnormalList":null,"attendOpenid":null,"authMap":null,"avatarUrl":null,"certNo":null,"cityId":null,"corp":null,"corpId":10827,"deptId":6334,"deptName":null,"hireDate":"2017-10-26","invitationCode":null,"openid":null,"roleId":4294,"roleName":null,"sex":"女","status":"1","tel":"13688880005","unionid":"dd797b18866544bf93fbb0da8e77a289","userId":15269,"userName":"经纪人B","wanderLogin":null,"xcxOpenid":null},"serviceUserId":15269,"serviceUserName":null,"shareUser":null,"shareUserId":null,"status":"有效","struct":"板楼","toilet":1,"totalFloor":21,"totalPriceBegin":null,"totalPriceEnd":null,"towards":"南","uniq":"否","unitName":"单元","unitNo":"B","unitPrice":null,"unitPriceBegin":null,"unitPriceEnd":null,"userName":null,"zoneName":null}
     * currentUserId : 15264
     * hasAuthPrivateDisk : false
     * ok : true
     * hasAuthEditBaseInfo : true
     * hasAuthCommitKey : true
     * hasAuthReturnKey : false
     * hasAuthPublicDisk : true
     * hasAuthMoveToUser : true
     * corpName : 演示公司
     * hasAuthChangeToInvalid : true
     * usePublicMode : true
     * deptList : [{"avatarUrl":null,"corpId":10827,"deptId":6331,"deptName":"演示公司","deptType":"公司","id":null,"parentId":null,"roleName":null,"sex":null,"sortNo":1,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6332,"deptName":"总部","deptType":"职能","id":null,"parentId":6331,"roleName":null,"sex":null,"sortNo":1,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6333,"deptName":"思明","deptType":"片区","id":null,"parentId":6331,"roleName":null,"sex":null,"sortNo":1,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6334,"deptName":"门店一","deptType":"门店","id":null,"parentId":6333,"roleName":null,"sex":null,"sortNo":1,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6335,"deptName":"湖里","deptType":"片区","id":null,"parentId":6331,"roleName":null,"sex":null,"sortNo":1,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6336,"deptName":"集美","deptType":"片区","id":null,"parentId":6331,"roleName":null,"sex":null,"sortNo":2,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6337,"deptName":"杏林","deptType":"片区","id":null,"parentId":6331,"roleName":null,"sex":null,"sortNo":3,"status":"1","type":null,"userName":null},{"avatarUrl":null,"corpId":10827,"deptId":6338,"deptName":"海沧","deptType":"片区","id":null,"parentId":6331,"roleName":null,"sex":null,"sortNo":4,"status":"1","type":null,"userName":null}]
     * hasAuthViewCoreLocation : true
     * hasAuthDeleteHouse : true
     * hasAuthViewCoreRemark : true
     * useRushMode : false
     * hasAuthChangeToPublic : false
     */

    var isHasAuthUploadImg: Boolean = false
    var currentUserDeptId: Int = 0
    var code: Int = 0
    var isHasAuthChangeToPrivate: Boolean = false
    var isUsePrivateMode: Boolean = false
    var isHasAuthViewCoreOwner: Boolean = false
    var xcxShareQrCode: String? = null
    var house: HouseBean? = null
    var currentUserId: Int = 0
    var isHasAuthPrivateDisk: Boolean = false
    var isOk: Boolean = false
    var isHasAuthEditBaseInfo: Boolean = false
    var isHasAuthCommitKey: Boolean = false
    var isHasAuthReturnKey: Boolean = false
    var isHasAuthPublicDisk: Boolean = false
    var isHasAuthMoveToUser: Boolean = false
    var corpName: String? = null
    var isHasAuthChangeToInvalid: Boolean = false
    var isUsePublicMode: Boolean = false
    var isHasAuthViewCoreLocation: Boolean = false
    var isHasAuthDeleteHouse: Boolean = false
    var isHasAuthViewCoreRemark: Boolean = false
    var isUseRushMode: Boolean = false
    var isHasAuthChangeToPublic: Boolean = false
    var deptList: List<DeptListBean>? = null



    class HouseBean {
        /**
         * alertDay : null
         * area : 60
         * areaBegin : null
         * areaEnd : null
         * asc : null
         * balcony : 1
         * bizType : sell
         * blockName : 号楼
         * blockNo : 2
         * buildYear : 2007
         * cell : 202
         * checkNo : 386064500
         * cityId : 15
         * corpId : 10827
         * corpName : null
         * createTime : 1501603200000
         * createTimeString : 2017-08-02 00:00
         * createUser : {"abnormalList":null,"attendOpenid":null,"authMap":null,"avatarUrl":null,"certNo":null,"cityId":null,"corp":null,"corpId":10827,"deptId":6334,"deptName":null,"hireDate":"2017-10-26","invitationCode":null,"openid":null,"roleId":4294,"roleName":null,"sex":"女","status":"1","tel":"13688880005","unionid":"dd797b18866544bf93fbb0da8e77a289","userId":15269,"userName":"经纪人B","wanderLogin":null,"xcxOpenid":null}
         * createUserId : 15269
         * decoration : 精装修
         * deleteHouseFlag : false
         * deptChildrens : $,6331,6332,6333,6335,6336,6337,6338,6334
         * deptName : null
         * districtName : null
         * elevator : null
         * fitment : null
         * fitmentFormatStr : -
         * floor : 4
         * floorBegin : null
         * floorEnd : null
         * floorStr : null
         * formatCreateDate : 2017-08-02
         * hall : 1
         * houseId : 75994
         * houseImg : http://wo-img.fangline.cn/44aa7f19-6c86-41ca-ad93-e850f3dab825.png
         * houseImgList : null
         * houseLogList : null
         * houseType : 住宅
         * inArea : null
         * isNew : null
         * keyDate : null
         * keyDept : null
         * keyDeptName : -
         * keyLogType : null
         * keyRemark : null
         * keyStatus : 无
         * keyUserId : null
         * latestFollowTime : 1501603200000
         * lookLogList : null
         * minPrice : null
         * moveHouseFlag : false
         * openType : 公盘
         * openid : null
         * orderBy : null
         * ownerList : [{"cityId":15,"houseId":75994,"ownerId":147901,"ownerName":"业主2","tel":"13866660002"}]
         * paymode : null
         * period : 满五年
         * price : 60
         * propertyType : 商品房
         * propertyYears : 70年
         * remark : null
         * rentType : null
         * room : 2
         * rooms : null
         * section : 半山御景
         * sectionLike : null
         * sections : {"corpId":10827,"district":"思明","sectionId":3569416,"sectionName":"半山御景","sectionSpell":"bsyj","zone":"松柏"}
         * serviceUser : {"abnormalList":null,"attendOpenid":null,"authMap":null,"avatarUrl":null,"certNo":null,"cityId":null,"corp":null,"corpId":10827,"deptId":6334,"deptName":null,"hireDate":"2017-10-26","invitationCode":null,"openid":null,"roleId":4294,"roleName":null,"sex":"女","status":"1","tel":"13688880005","unionid":"dd797b18866544bf93fbb0da8e77a289","userId":15269,"userName":"经纪人B","wanderLogin":null,"xcxOpenid":null}
         * serviceUserId : 15269
         * serviceUserName : null
         * shareUser : null
         * shareUserId : null
         * status : 有效
         * struct : 板楼
         * toilet : 1
         * totalFloor : 21
         * totalPriceBegin : null
         * totalPriceEnd : null
         * towards : 南
         * uniq : 否
         * unitName : 单元
         * unitNo : B
         * unitPrice : null
         * unitPriceBegin : null
         * unitPriceEnd : null
         * userName : null
         * zoneName : null
         */

        var alertDay: Any? = null
        var area: Int = 0
        var areaBegin: Any? = null
        var areaEnd: Any? = null
        var asc: Any? = null
        var balcony: Int = 0
        var bizType: String? = null
        var blockName: String? = null
        var blockNo: String? = null
        var buildYear: Int = 0
        var cell: String? = null
        var checkNo: String? = null
        var cityId: Int = 0
        var corpId: Int = 0
        var corpName: Any? = null
        var createTime: Long = 0
        var createTimeString: String? = null
        var createUser: CreateUserBean? = null
        var createUserId: Int = 0
        var decoration: String? = null
        var isDeleteHouseFlag: Boolean = false
        var deptChildrens: String? = null
        var deptName: Any? = null
        var districtName: Any? = null
        var elevator: Any? = null
        var fitment: Any? = null
        var fitmentFormatStr: String? = null
        var floor: Int = 0
        var floorBegin: Any? = null
        var floorEnd: Any? = null
        var floorStr: Any? = null
        var formatCreateDate: String? = null
        var hall: Int = 0
        var houseId: Long? = null
        var houseImg: String? = null
        var houseImgList: Any? = null
        var houseLogList: Any? = null
        var houseType: String? = null
        var inArea: Any? = null
        var isNew: Any? = null
        var keyDate: Any? = null
        var keyDept: Any? = null
        var keyDeptName: String? = null
        var keyLogType: Any? = null
        var keyRemark: Any? = null
        var keyStatus: String? = null
        var keyUserId: Any? = null
        var latestFollowTime: Long = 0
        var lookLogList: Any? = null
        var minPrice: Any? = null
        var isMoveHouseFlag: Boolean = false
        var openType: String? = null
        var openid: Any? = null
        var orderBy: Any? = null
        var paymode: Any? = null
        var period: String? = null
        var price: Int = 0
        var propertyType: String? = null
        var propertyYears: String? = null
        var remark: Any? = null
        var rentType: Any? = null
        var room: Int = 0
        var rooms: Any? = null
        var section: String? = null
        var sectionLike: Any? = null
        var sections: SectionsBean? = null
        var serviceUser: ServiceUserBean? = null
        var serviceUserId: Int = 0
        var serviceUserName: Any? = null
        var shareUser: Any? = null
        var shareUserId: Any? = null
        var status: String? = null
        var struct: String? = null
        var toilet: Int = 0
        var totalFloor: Int = 0
        var totalPriceBegin: Any? = null
        var totalPriceEnd: Any? = null
        var towards: String? = null
        var uniq: String? = null
        var unitName: String? = null
        var unitNo: String? = null
        var unitPrice: Any? = null
        var unitPriceBegin: Any? = null
        var unitPriceEnd: Any? = null
        var userName: Any? = null
        var zoneName: Any? = null
        var ownerList: List<OwnerListBean>? = null

        class CreateUserBean {
            /**
             * abnormalList : null
             * attendOpenid : null
             * authMap : null
             * avatarUrl : null
             * certNo : null
             * cityId : null
             * corp : null
             * corpId : 10827
             * deptId : 6334
             * deptName : null
             * hireDate : 2017-10-26
             * invitationCode : null
             * openid : null
             * roleId : 4294
             * roleName : null
             * sex : 女
             * status : 1
             * tel : 13688880005
             * unionid : dd797b18866544bf93fbb0da8e77a289
             * userId : 15269
             * userName : 经纪人B
             * wanderLogin : null
             * xcxOpenid : null
             */

            var abnormalList: Any? = null
            var attendOpenid: Any? = null
            var authMap: Any? = null
            var avatarUrl: Any? = null
            var certNo: Any? = null
            var cityId: Any? = null
            var corp: Any? = null
            var corpId: Int = 0
            var deptId: Int = 0
            var deptName: Any? = null
            var hireDate: String? = null
            var invitationCode: Any? = null
            var openid: Any? = null
            var roleId: Int = 0
            var roleName: Any? = null
            var sex: String? = null
            var status: String? = null
            var tel: String? = null
            var unionid: String? = null
            var userId: Int = 0
            var userName: String? = null
            var wanderLogin: Any? = null
            var xcxOpenid: Any? = null
            override fun toString(): String {
                return "CreateUserBean(abnormalList=$abnormalList, attendOpenid=$attendOpenid, authMap=$authMap, avatarUrl=$avatarUrl, certNo=$certNo, cityId=$cityId, corp=$corp, corpId=$corpId, deptId=$deptId, deptName=$deptName, hireDate=$hireDate, invitationCode=$invitationCode, openid=$openid, roleId=$roleId, roleName=$roleName, sex=$sex, status=$status, tel=$tel, unionid=$unionid, userId=$userId, userName=$userName, wanderLogin=$wanderLogin, xcxOpenid=$xcxOpenid)"
            }

        }

        class SectionsBean {
            /**
             * corpId : 10827
             * district : 思明
             * sectionId : 3569416
             * sectionName : 半山御景
             * sectionSpell : bsyj
             * zone : 松柏
             */

            var corpId: Int = 0
            var district: String? = null
            var sectionId: Int = 0
            var sectionName: String? = null
            var sectionSpell: String? = null
            var zone: String? = null
            override fun toString(): String {
                return "SectionsBean(corpId=$corpId, district=$district, sectionId=$sectionId, sectionName=$sectionName, sectionSpell=$sectionSpell, zone=$zone)"
            }

        }

        class ServiceUserBean {
            /**
             * abnormalList : null
             * attendOpenid : null
             * authMap : null
             * avatarUrl : null
             * certNo : null
             * cityId : null
             * corp : null
             * corpId : 10827
             * deptId : 6334
             * deptName : null
             * hireDate : 2017-10-26
             * invitationCode : null
             * openid : null
             * roleId : 4294
             * roleName : null
             * sex : 女
             * status : 1
             * tel : 13688880005
             * unionid : dd797b18866544bf93fbb0da8e77a289
             * userId : 15269
             * userName : 经纪人B
             * wanderLogin : null
             * xcxOpenid : null
             */

            var abnormalList: Any? = null
            var attendOpenid: Any? = null
            var authMap: Any? = null
            var avatarUrl: Any? = null
            var certNo: Any? = null
            var cityId: Any? = null
            var corp: Any? = null
            var corpId: Int = 0
            var deptId: Int = 0
            var deptName: Any? = null
            var hireDate: String? = null
            var invitationCode: Any? = null
            var openid: Any? = null
            var roleId: Int = 0
            var roleName: Any? = null
            var sex: String? = null
            var status: String? = null
            var tel: String? = null
            var unionid: String? = null
            var userId: Int = 0
            var userName: String? = null
            var wanderLogin: Any? = null
            var xcxOpenid: Any? = null
            override fun toString(): String {
                return "ServiceUserBean(abnormalList=$abnormalList, attendOpenid=$attendOpenid, authMap=$authMap, avatarUrl=$avatarUrl, certNo=$certNo, cityId=$cityId, corp=$corp, corpId=$corpId, deptId=$deptId, deptName=$deptName, hireDate=$hireDate, invitationCode=$invitationCode, openid=$openid, roleId=$roleId, roleName=$roleName, sex=$sex, status=$status, tel=$tel, unionid=$unionid, userId=$userId, userName=$userName, wanderLogin=$wanderLogin, xcxOpenid=$xcxOpenid)"
            }
        }

        class OwnerListBean {
            /**
             * cityId : 15
             * houseId : 75994
             * ownerId : 147901
             * ownerName : 业主2
             * tel : 13866660002
             */

            var cityId: Int = 0
            var houseId: Int = 0
            var ownerId: Int = 0
            var ownerName: String? = null
            var tel: String? = null
            override fun toString(): String {
                return "OwnerListBean(cityId=$cityId, houseId=$houseId, ownerId=$ownerId, ownerName=$ownerName, tel=$tel)"
            }
        }
    }

    class DeptListBean {
        /**
         * avatarUrl : null
         * corpId : 10827
         * deptId : 6331
         * deptName : 演示公司
         * deptType : 公司
         * id : null
         * parentId : null
         * roleName : null
         * sex : null
         * sortNo : 1
         * status : 1
         * type : null
         * userName : null
         */

        var avatarUrl: Any? = null
        var corpId: Int = 0
        var deptId: Int = 0
        var deptName: String? = null
        var deptType: String? = null
        var id: Any? = null
        var parentId: Any? = null
        var roleName: Any? = null
        var sex: Any? = null
        var sortNo: Int = 0
        var status: String? = null
        var type: Any? = null
        var userName: Any? = null

        override fun toString(): String {
            return "DeptListBean(avatarUrl=$avatarUrl, corpId=$corpId, deptId=$deptId, deptName=$deptName, deptType=$deptType, id=$id, parentId=$parentId, roleName=$roleName, sex=$sex, sortNo=$sortNo, status=$status, type=$type, userName=$userName)"
        }
    }

    override fun toString(): String {
        return "HouseDetail(isHasAuthUploadImg=$isHasAuthUploadImg, currentUserDeptId=$currentUserDeptId, code=$code, isHasAuthChangeToPrivate=$isHasAuthChangeToPrivate, isUsePrivateMode=$isUsePrivateMode, isHasAuthViewCoreOwner=$isHasAuthViewCoreOwner, xcxShareQrCode=$xcxShareQrCode, house=$house, currentUserId=$currentUserId, isHasAuthPrivateDisk=$isHasAuthPrivateDisk, isOk=$isOk, isHasAuthEditBaseInfo=$isHasAuthEditBaseInfo, isHasAuthCommitKey=$isHasAuthCommitKey, isHasAuthReturnKey=$isHasAuthReturnKey, isHasAuthPublicDisk=$isHasAuthPublicDisk, isHasAuthMoveToUser=$isHasAuthMoveToUser, corpName=$corpName, isHasAuthChangeToInvalid=$isHasAuthChangeToInvalid, isUsePublicMode=$isUsePublicMode, isHasAuthViewCoreLocation=$isHasAuthViewCoreLocation, isHasAuthDeleteHouse=$isHasAuthDeleteHouse, isHasAuthViewCoreRemark=$isHasAuthViewCoreRemark, isUseRushMode=$isUseRushMode, isHasAuthChangeToPublic=$isHasAuthChangeToPublic, deptList=$deptList)"
    }
}
